package com.diandian.backend.log.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.diandian.backend.log.dto.LogTaskProcessAddParamDTO;

import java.io.Serializable;
import java.util.Date;

public class LogTaskProcessAddParam implements Serializable {

	private String belong;
	private String businessType;
	private String businessId;
	private String taskId;
	private String taskName;
	private String content;
	private String operaterUserId;
	private String operatorUserName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private Integer del;

	public LogTaskProcessAddParamDTO toDTO(){
		LogTaskProcessAddParamDTO dto = new LogTaskProcessAddParamDTO();
		dto.setBelong(this.belong);
		dto.setBusinessType(this.businessType);
		dto.setBusinessId(this.businessId);
		dto.setTaskId(this.taskId);
		dto.setTaskName(this.taskName);
		dto.setContent(this.content);
		dto.setOperaterUserId(this.operaterUserId);
		dto.setOperatorUserName(this.operatorUserName);
		dto.setCreateTime(this.createTime);
		dto.setDel(this.del);
		return dto;
	}

	public String getBelong() {
		return belong;
	}
	public String setBelong(String belong) {
		return this.belong = belong;
	}
	public String getBusinessType() {
		return businessType;
	}
	public String setBusinessType(String businessType) {
		return this.businessType = businessType;
	}
	public String getBusinessId() {
		return businessId;
	}
	public String setBusinessId(String businessId) {
		return this.businessId = businessId;
	}
	public String getTaskId() {
		return taskId;
	}
	public String setTaskId(String taskId) {
		return this.taskId = taskId;
	}
	public String getTaskName() {
		return taskName;
	}
	public String setTaskName(String taskName) {
		return this.taskName = taskName;
	}
	public String getContent() {
		return content;
	}
	public String setContent(String content) {
		return this.content = content;
	}
	public String getOperaterUserId() {
		return operaterUserId;
	}
	public String setOperaterUserId(String operaterUserId) {
		return this.operaterUserId = operaterUserId;
	}
	public String getOperatorUserName() {
		return operatorUserName;
	}
	public String setOperatorUserName(String operatorUserName) {
		return this.operatorUserName = operatorUserName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public Date setCreateTime(Date createTime) {
		return this.createTime = createTime;
	}
	public Integer getDel() {
		return del;
	}
	public Integer setDel(Integer del) {
		return this.del = del;
	}
}
